﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HarmonyLib;
using UnityEngine;

namespace ONI_Mod1
{
    internal class HEPBatteryPch
    {
        [HarmonyPatch(typeof(HEPBatteryConfig), "ConfigureBuildingTemplate")]
        public class ElectrolyzerConfigMessUp
        {
            public static void Postfix(GameObject go)
            {
                HighEnergyParticleStorage energyParticleStorage = go.AddOrGet<HighEnergyParticleStorage>();
                energyParticleStorage.capacity = 100000f;
            }
        }
    }
}
